From: Keir Fraser Date: Tue, 19 May 2009 00:50:00 +0000 (+0100) Subject: xend: adjust relocation buffer size X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~13914 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=f770d340f1380e924a1cdc201d3872306d263945;p=xen.git xend: adjust relocation buffer size This can greatly improve ssl relocation performance (to about 1/3 compared with buffersize 1024). Signed-off-by: Zhigang Wang --- diff --git a/tools/python/xen/web/connection.py b/tools/python/xen/web/connection.py index 3d335d2fbd..17e1762085 100644 --- a/tools/python/xen/web/connection.py +++ b/tools/python/xen/web/connection.py @@ -37,7 +37,7 @@ specifying what kind of socket they are. There are subclasses for TCP and unix-domain sockets (see tcp.py and unix.py). """ -BUFFER_SIZE = 1024 +BUFFER_SIZE = 16384 BACKLOG = 5